﻿using B.S.GridManage.ErrorCode;
using MediatR;

namespace B.S.GridManage.Api.Write.Application.Command.DutyGrid
{
    /// <summary>
    /// 中介者-修改责任网格请求命令
    /// </summary>
    public class UpdateDutyCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 责任网格类型
        /// </summary>
        public string DutyGridType { get; set; }


        /// <summary>
        /// 责任网格名称
        /// </summary>
        public string DutyGridName { get; set; }
        /// <summary>
        /// 责任网格编码
        /// </summary>
        public string DutyGridCode { get; set; }
        /// <summary>
        /// 所属区域
        /// </summary>
        public long AreaId { get; set; }

        /// <summary>
        /// 管理几个单元,用文字,把前端的数组连起来
        /// </summary>
        public string UnitGrids { get; set; }

    }
}
